package com.yilin.medical.lsh;
import java.util.List;

public class SearchResult<T> extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2185157179194144409L;
	private int total;
	List<T> rs;
	private int page;
	private int size;
	private int pages;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<T> getRs() {
		return rs;
	}

	public void setRs(List<T> rs) {
		this.rs = rs;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getPages() {
		return pages;
	}

	public void setPages(int pages) {
		this.pages = pages;
	}

	@Override
	public String toString() {
		return "SearchResult [total=" + total + ", rs=" + rs + ", page=" + page
				+ ", size=" + size + ", pages=" + pages + "]";
	}

}
